<%@ page contentType="text/html; charset=utf-8"%>
<%@ page import="cn.lily.inst.web.frames.FrameConfig" %>
<%@ page import="cn.lily.web.util.context.WebContext" %>
<%@ page import="cn.lily.esb.context.AuthEntity" %>
<%@page import="cn.lily.com.container.ram.ApplicationContext"%>

<%
	AuthEntity authEntity = (AuthEntity) session.getAttribute(WebContext.LOG_AUTH_CONTEXT);
	String appid=request.getParameter("appid");
	if(authEntity!=null){
		if(!("".equals(appid) || "index".equals(appid) || appid.startsWith("http")))
			authEntity.getOperEntity().setAppID(appid);
			ApplicationContext.setAuthEntity(request.getSession().getId(), authEntity);
	}
%>
